//
//  ZYCBaseTableViewCell.m
//  ZDSC
//
//  Created by ZDTX on 2021/6/20.
//

#import "ZYCBaseTableViewCell.h"
@interface ZYCBaseTableViewCell()


@end

@implementation ZYCBaseTableViewCell


+ (instancetype _Nullable)createCellWithTableView:(UITableView *_Nullable)tableView{
    NSString *reuseIdentifier = NSStringFromClass([self class]);
    ZYCBaseTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:reuseIdentifier];
    if (!cell) {
        cell = [[self alloc]initWithStyle:UITableViewCellStyleDefault
                          reuseIdentifier:reuseIdentifier];
    }
    return cell;
    
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        [self setupUI];
        [self setupConstaints];
    }
    return self;
}

- (void)setupUI{
    
}

- (void)setupConstaints{
    
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
